package practical.GrabRed;

/**
 * 定义红包的bean 包括数据结构
 * Created by tanlee on 2016/4/12.
 */
public class RedPackage {

    public double totalNum;  //红包总金额
    public int count;   //总人数

    public RedPackage(RedPackage redPackage) {
        this.totalNum = redPackage.totalNum;
        this.count = redPackage.count;
    }

    public RedPackage(int totalNum, int count) {
        this.totalNum = totalNum;
        this.count = count;
    }
}
